# $Id: PKGBUILD 66049 2012-02-22 15:26:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-ical-parser
pkgver=1.16
pkgrel=3
pkgdesc="Perl/CPAN Module iCal::Parser : Parse iCalendar files into a data structure"
arch=("any")
url="http://search.cpan.org/dist/iCal-Parser"
license=("GPL" "PerlArtistic")
makedepends=("perl-io-string" "perl-datetime-format-ical" "perl-text-vfile-asdata")
depends=("perl-freezethaw" "perl-io-string" "perl-datetime-format-ical" "perl-text-vfile-asdata")
source=("http://www.cpan.org/authors/id/R/RF/RFRANKEL/iCal-Parser-$pkgver.tar.gz")
md5sums=('5a796fd5c8f9593fc45a123d1054a2a7')

build() {
  cd $srcdir/iCal-Parser-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
